package com.jdyxk.commons.datasource.c3p0;

import com.mchange.v2.c3p0.ComboPooledDataSource;
import org.apache.ibatis.datasource.unpooled.UnpooledDataSourceFactory;

/**
 * @author 李昊哲
 * @version 1.0
 * @Description c3p0整合Mybaits的数据源
 * @createTime 2021/8/25 16:29
 */
public class C3p0DataSourceFactory extends UnpooledDataSourceFactory {
    public C3p0DataSourceFactory(){
        this.dataSource=new ComboPooledDataSource();
    }
}
